// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_INV_OOI
// * CreateDate    : 2014-06-05 18:30:10
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:10
// * LastChanger   : 2014-06-05 18:30:10
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class InvOoiTable : TableInfo
    {
		public const string C_TableName = "INV_OOI";
		
		public const string C_ID = "ID";
		public const string C_OO_ID = "OO_ID";
		public const string C_PRODUCT_ID = "PRODUCT_ID";
		public const string C_QTY = "QTY";
		public const string C_WH_ID = "WH_ID";
		public const string C_LOCATION_ID = "LOCATION_ID";
		public const string C_LOT_NO = "LOT_NO";
		public const string C_REMARK = "REMARK";
		
		public InvOoiTable()
        {
            _tableName = "INV_OOI";
        }
		
		protected static InvOoiTable _current;
        public static InvOoiTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new InvOoiTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_OO_ID, new ColumnInfo(C_OO_ID,"OoId", false, typeof(string)));
            _current.Add(C_PRODUCT_ID, new ColumnInfo(C_PRODUCT_ID,"ProductId", false, typeof(string)));
            _current.Add(C_QTY, new ColumnInfo(C_QTY,"Qty", false, typeof(decimal)));
            _current.Add(C_WH_ID, new ColumnInfo(C_WH_ID,"WhId", false, typeof(string)));
            _current.Add(C_LOCATION_ID, new ColumnInfo(C_LOCATION_ID,"LocationId", false, typeof(string)));
            _current.Add(C_LOT_NO, new ColumnInfo(C_LOT_NO,"LotNo", false, typeof(string)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo OO_ID
        {
            get { return this[C_OO_ID]; }
        }
		
		public ColumnInfo PRODUCT_ID
        {
            get { return this[C_PRODUCT_ID]; }
        }
		
		public ColumnInfo QTY
        {
            get { return this[C_QTY]; }
        }
		
		public ColumnInfo WH_ID
        {
            get { return this[C_WH_ID]; }
        }
		
		public ColumnInfo LOCATION_ID
        {
            get { return this[C_LOCATION_ID]; }
        }
		
		public ColumnInfo LOT_NO
        {
            get { return this[C_LOT_NO]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		
		
	}
}

